// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import fastClick from 'Fastclick'
import VueAwesomeSwiper from 'vue-awesome-swiper'
// 引入vuex
import store from './store'
// 引入样式统一文件，由于不同手机浏览器上默认的一些样式是不统一的，把不同手机的初始化的样式进行统一
import 'styles/reset.css'
// 移动端1像素的问题
import 'styles/border.css'
import 'styles/inconfont/iconfont.js'
// 引入iconfont
import 'styles/iconfont.css'
// swiper插件
import 'swiper/swiper-bundle.css'
// axios请求
import axios from 'axios'
Vue.prototype.$http = axios
Vue.use(VueAwesomeSwiper)

Vue.config.productionTip = false
// 300ms点击延迟
fastClick.attach(document.body)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  store,
  router,
  components: { App },
  template: '<App/>'
})
